package com.softoa.serviceImp;

import com.softoa.mapper.PublicAddressMapper;
import com.softoa.pojo.Publicaddress;
import com.softoa.service.IPublicAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PublicAddressImp implements IPublicAddressService {
    @Autowired
    PublicAddressMapper publicAddressMapper;

    @Override
    public int publicAddressInsert(Publicaddress publicaddress) {
        return publicAddressMapper.publicAddressInsert(publicaddress);
    }

    @Override
    public int publicAddressUpdate(Publicaddress publicaddress) {
        return publicAddressMapper.publicAddressUpdate(publicaddress);
    }

    @Override
    public List<Publicaddress> publicAddressSelect(Publicaddress rule) {
        return publicAddressMapper.publicAddressSelect(rule);
    }
}
